﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace UrsaStats
{
    class Ursa:IChar
    {
        double str_base, str_grow, str_current;
        double agi_base, agi_grow, agi_current;
        double int_base, int_grow, int_current;
        double damage_base, damage_current;
        double armor_base, armor_current;
        double health_base, health_current;
        double mana_current, damage_reduction;
        double HP_regen, MP_regen, HP_regen_base, MP_regen_base, MP_regen_Proc;

        public Ursa()
        {
            str_base = 23; str_grow = 2.9;
            agi_base = 18; agi_grow = 2.1;
            int_base = 16; int_grow = 1.5;
            health_base = 150; armor_base = 4.5;
            damage_base = 47;
            HP_regen_base = 0.25;
            //TODO
            MP_regen_base = 1;
        }

        public string getStats(int Level)
        {
            string result = "";

            int n = Level - 1;

            str_current = str_base + str_grow * n;
            agi_current = agi_base + agi_grow * n;
            int_current = int_base + int_grow * n;
            damage_current = damage_base + agi_grow * n;
            health_current = health_base + str_current * 19;
            mana_current = int_current * 13;
            armor_current = armor_base + agi_current / 7;

            result = str_current.ToString() + "\n" + "\n" + agi_current.ToString() + "\n" + "\n" + int_current.ToString() + "\n" + "\n" +
            health_current.ToString() + "\n" + "\n" + mana_current.ToString() + "\n" + "\n" + damage_current.ToString() + "\n" + "\n" + armor_current.ToString();

            return result;

        }
    }

   
}
